import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import RoadData from '@/view/roadData'
import Relation from '@/view/relation/relate'
import Login from '@/view/login'
import View from '@/view/relation/view'

import RelationOrg from '@/view/relation/relateOrg'
import RelationCamera from '@/view/relation/relateCamera'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'roadData',
      component: RoadData
    },
    {
      path: '/relate',
      name: 'Relation',
      component: Relation
    },
    {
      path: '/view',
      name: 'View',
      component: View
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/relateOrg',
      name: 'RelationOrg',
      component: RelationOrg
    },
    {
      path: '/relateCamera',
      name: 'RelationCamera',
      component: RelationCamera
    }
  ]
})
